/**
 * 
 */
package ccrClasses.layer2;

import ccrClasses.ICcr;

/**
 * @author matheus
 *
 */
public class Source implements ICcr{
	
	public static String OPEN_TAG = "<Source>";

	public static String CLOSE_TAG = "</Source>";
	
	private Actor actor;

	public Source(Actor actor) {
		super();
		this.actor = actor;
	}

	public Source() {
		super();
	}

	/**
	 * @return the actor
	 */
	public Actor getActor() {
		return actor;
	}

	/**
	 * @param actor the actor to set
	 */
	public void setActor(Actor actor) {
		this.actor = actor;
	}

	/**
	 * @return the oPEN_TAG
	 */
	public String getOPEN_TAG() {
		return OPEN_TAG;
	}

	/**
	 * @return the cLOSE_TAG
	 */
	public String getCLOSE_TAG() {
		return CLOSE_TAG;
	}

	@Override
	public String constructCcrString() {
		return new String(OPEN_TAG + actor.constructCcrString() + CLOSE_TAG);
	}
	
	

}
